﻿// -----------------------------------------------------------------------
// <copyright file="SmartButton.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace B13_Ex06
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Windows.Forms;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public sealed class SmartControler : Panel
    {
        private readonly int m_XPosition;
        private readonly int m_YPosition;
        private bool m_IsClicked = false;

        public SmartControler(int i_x, int i_y)
        {
            this.m_XPosition = i_x;
            this.m_YPosition = i_y;
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, (byte)177);
        }

        public bool IsClicked
        {
            get { return this.m_IsClicked; }
            set { this.m_IsClicked = value; }
        }

        public int YPosition
        {
            get { return this.m_YPosition; }
        }

        public int XPosition
        {
            get { return this.m_XPosition; }
        }
    }
}
